package org.mango.action;

import org.mango.base.BaseAction;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * Created by meigang on 17/10/28.
 */
@Controller
@RequestMapping("/f")
public class FrontAction extends BaseAction {

    @RequestMapping("/index")
    public void index(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
        req.getRequestDispatcher("/show/front/Index.jsx").forward(req,res);
    }

}
